Automattic\WooCommerce\Admin\PluginsHelper B

Total Complexity 100
Dependencies 9
Dependents 19
Total lines 945
Lines of code 562
Logical lines of code 249
Comment lines 250
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
install_plugins()
B
33 15 104
get_expiring_subscription_notice()
A
38 12 74
activate_plugins()
A
44 10 47
get_expired_subscription_notice()
A
44 9 48
get_subscriptions_notice_data()
S
43 5 57
maybe_show_connect_notice_in_plugin_list()
S
50 4 29
maybe_show_expired_subscriptions_notice()
S
59 4 14
maybe_show_expiring_subscriptions_notice()
S
59 4 14
get_plugin_path_from_slug()
S
60 4 13
should_show_notice()
S
62 4 11
schedule_activate_plugins()
S
58 3 16
schedule_install_plugins()
S
61 3 12
maybe_enqueue_scripts_for_connect_notice()
S
63 3 11
get_action_data()
S
60 2 13
maybe_enqueue_scripts_for_notices_in_plugins()
S
63 2 11
get_plugin_data()
S
71 2 5
is_plugin_active()
S
73 2 4
is_plugin_installed()
S
74 2 4
maybe_enqueue_scripts_for_subscription_notice()
S
69 2 7
get_installed_plugins_paths()
S
63 2 10
init()
S
62 1 11
get_activation_status()
S
63 1 11
get_installation_status()
S
63 1 11
install_and_activate_plugins_async_callback()
S
68 1 7
get_active_plugin_slugs()
S
66 1 9
get_installed_plugin_slugs()
S
66 1 9